package com.schoolComments.mapper;

import com.schoolComments.entity.VoucherOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 */
public interface VoucherOrderMapper extends BaseMapper<VoucherOrder> {

    Integer insertOrder(@Param("voucherOrder") VoucherOrder voucherOrder);

    Integer queryOrderByIdAndVoucherId(@Param("id") Long id, @Param("voucherId") Long voucherId);
}
